home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1635 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: news.primenet.com!sjoyce
  2. From: Stanley Joyce <sjoyce@primenet.com>
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: sas/c c -> asm
  5. Date: 21 Jan 1996 20:10:02 -0700
  6. Organization: Primenet (602)395-1010
  7. Sender: root@primenet.com
  8. Message-ID: <4duv6a$pq4@nnrp1.news.primenet.com>
  9. References: <781.6594T816T2161@innet.be>
  10. X-Posted-By: sjoyce@usr2.primenet.com
  11.  
  12. Bert Wynants <bert.wynants@innet.be> wrote:
  13. : Hi,
  14.  
  15. : With SAS/C (6.56) it's possible to create an asm file out of a c-source file
  16. : (disassemble option). However if I want to asm this generated file the
  17. : assmebler chokes on it:
  18.  
  19. : test.a 214 Error: invalid operands for this opcode
  20. :               MOVEM.L        D4/D5/D6/D7/A2/A3/A4/A5/A6,-(A7);48e7 0f3e
  21.  
  22.  Hmm, I dont know about the SAS/C assembler, but my assembler accepts 
  23. this, although I use the short form: MOVEM.L d4-d7/a2-a6,-(a7)
  24. (which just pushes regs d4 to d7 and a2 to a6 in to the stack (if you are 
  25. wondering))
  26.  Of course, if all else fails you COULD get "IRA" off Aminet (I am not 
  27. sure of the directory), but it will dissasemble your executables in a 
  28. form so it can be reassembled (use PhxAssembler).
  29. sj
  30.  
  31.  
  32. --
  33.   _n_n_n_n_n_n_n_n_n_n_
  34.  |                     |     //-----------
  35.  | sjoyce@primenet.com |   \X/======= http://www.primenet.com/~sjoyce
  36.  |                     |    [A1200/030/FPU/MMU/30Mhz/2MB+8MB/85Mb HD/3.0KS]
  37.   -u-u-u-u-u-u-u-u-u-u-     [A500/000/7Mhz/1MB/45Mb HD/A570/1.3KS]
  38.